package com.hxs.learn.mapper.core;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;

import org.springframework.stereotype.Component;

import com.hxs.learn.common.entity.TreeJson;
import com.hxs.learn.common.mapper.SuperMapper;
import com.hxs.learn.entity.core.SysUserRole;

/**
 *
 * @author huxinsheng
 * @date 2018-04-24 15:26:25
 */
@Mapper
@Component
public interface SysUserRoleMapper extends SuperMapper<SysUserRole> {

    /**
     * 根据用户id获取用户角色json数据
     * @param userId 用户id
     * @return java.util.List
     */
    List<TreeJson<Object>> selectByUserId(String userId);
}


//~ Formatted by Jindent --- http://www.jindent.com
